package com.yixin.hospital.entity.dto.req.drugtag;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel("新增药品标签请求体")
@Data
public class DrugTagAddReqDTO {

    @ApiModelProperty(value = "药品标签名称", example = "热销")
    @NotBlank(message = "药品标签名称不能为空")
    private String name;
}
